using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MMFrameworkDesign.Example {
    public class Enemy : MonoBehaviour
    {
  

        // ???????
        private static int mKillCount = 0;
        /**
         * ??????????
         */
        private void OnMouseDown()
        {
            Destroy(gameObject);
            mKillCount++;

            if(mKillCount == 12)
            {
                GamePassEvent.Trigger();
            }

        }
    }

}

